//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.bfsuol.bfsuolcomponents.log.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bfsuol.bfsuolframework.core.entity.Entity;
import com.bfsuol.bfsuolframework.core.entity.EntitySupport;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

@TableName("t_sys_log")
@Data
@Accessors(chain = true)
public class SysLog extends EntitySupport implements Entity {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO,value = "sys_log_id")
    private Long id;
    @TableField(value = "content")
    private String content;
    @TableField(value = "user_agent")
    private String userAgent;
    @TableField(value = "type")
    private String type;
    @TableField(value = "log_level")
    private Integer level;
    @TableField(value = "server_name")
    private String serverName;
    @TableField(value = "server_ip")
    private String serverIp;
    @TableField(value = "user_name")
    private String userName;
    @TableField(value = "user_id")
    private Long userId;
    @TableField(value = "create_date")
    private Date createDate;
    @TableField(value = "login_ip")
    private String loginIp;
}
